package com.pig4cloud.pig.propertyroom.feign;

import com.pig4cloud.pig.common.core.constant.ServiceNameConstants;
import com.pig4cloud.pig.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "remoteBuildingService", value = ServiceNameConstants.BUILDING_SERVICE)
public interface RemoteBuildingService {
	@GetMapping("/building/getAll")
	public R getAll();
}
